package com.birdy.mapper;

import com.birdy.vo.Check;
import com.birdy.vo.CheckDTO;
import org.apache.ibatis.annotations.Mapper;

import java.sql.Timestamp;

/**
 * @author birdy
 * @date 2022/5/4 8:50 AM
 */
@Mapper
public interface CheckMapper {
    public int check(CheckDTO checkDTO);
    public int achieve(int goalId, String openid, int checkId);
    public Timestamp getLatestDay(String openid);
}
